using Castle.MicroKernel;
using Castle.MicroKernel.SubSystems.Conversion;
using Castle.Windsor;

namespace Mite
{
	public class MiteContainer : WindsorContainer
	{
		public MiteContainer()
		{
			var manager = (IConversionManager) Kernel.GetSubSystem(SubSystemConstants.ConversionManagerKey);

			manager.Add(new HashTypeConverter());

			Installer.SetUp(this, Kernel.ConfigurationStore);
		}
	}
}